<template>
  <!-- 导航栏组件属性 -->
  <div class="navbarAttr">
    
  </div>
</template>

<script>
export default {
  name: "navbarAttr",
  components: {},
  props: {
    comData: {
      type: Object,
      default: () => {}
    },
    ispreview:{
      type:Boolean,
      default: false
    }
  },
  data () {
    return {
      
    }
  },
  methods: {
   
  },
}
</script>

<style lang="less" scoped>
.navbarAttr {
  // 组件位置大小
  .comInfo{
    margin-top: 10px;
    margin-left: 5px;
    .item1{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 10px;
      border-bottom: 1px dashed #dbdbdb;
      &:nth-last-child(1){
        border: none;
      }
      .label{
        width: 80px;
      }
      .infoCon{
        width: calc(100% - 80px);
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
        .con{
          display: flex;
          align-items: center;
          span{
            width: 25px;
          }
        }
      }
    }
    .items{
      display: flex;
      flex-direction: column;
      padding: 10px;
      .label{
        width: 80px;
      }
      .index{
        margin-top: 10px;
        .cont{
          margin-left: 15px;
          display: flex;
          align-items: center;
          flex-direction: row;
          justify-content: space-between;
          .tit{
            width: 115px;
          }
        }
      }
      
    }
  }

  // 海报列表
  .image-list{
    margin: 0;
    padding: 0 10px;
    overflow: auto;
    .item{
      display: flex;
      background: #f7f8f9;
      border-radius: 4px;
      padding: 6px 14px 10px;
      margin-bottom: 10px;
      .l-info{
        font-size: 12px;
        padding-top: 8px;
        width: calc(100% - 70px);
        p{
          margin: 12px 0 0;
          white-space: nowrap;
          overflow: hidden;
          display: flex;
          .link{
            color: #1b8bff;
            cursor: pointer;
          }
          .text{
            white-space: nowrap;
            text-align: -webkit-auto;
            text-overflow: ellipsis;
            overflow: hidden;
          }
        }
      }
      .r-image{
        text-align: right;
        .el-icon-close{
          color: #999;
          font-size: 12px;
          font-weight: 600;
          margin-bottom: 6px;
          cursor: pointer;
          &:hover{
            color: red;
          }
        }
        .image-box{
          width: 70px;
          height: 70px;
          border-radius: 5px;
          overflow: hidden;
          position: relative;
          background: #fff;
          display: flex;
          justify-content: center;
          align-items: center;
          &::before{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,.5);
            opacity: 0;
            transition: all .3s;
          }
          span{
            position: absolute;
            top: 50%;
            left: 50%;
            color: #fff;
            transform: translate(-50%, -50%);
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            transition: all .3s;
          }
          img{
            max-width: 100%;
          }
          &:hover{
            &::before, span{
              opacity: 1;
            }
          }
        }
      }
    }
  }
}
</style>